//
//  TextInterface.h
//  Dungeons and Princesses
//
//  Created by John Grange on 10/22/11.
//  Copyright (c) 2011 SD Networks. All rights reserved.
//

#ifndef Dungeons_and_Princesses_TextInterface_h
#define Dungeons_and_Princesses_TextInterface_h

#include "Interface.h"

class TextInterface : public Interface {



protected:
    
    Monster * currentMonster;
    virtual void enterBattle();
    int numberOfQuitRequests;
    virtual void executeCommand(std::string commandToParse);
    virtual void dropAll(vector<Listing>const * playerInventory);
    virtual void showRoomInventory(const vector<Listing> * roomInv);
    virtual void showDescription();
    virtual void showPrompt();
    virtual void getResponse(std::string prompt, std::string &response);
    virtual void showPlayerInventory(const vector<Listing> * playerInv);
    virtual void showHelp(vector<std::string> *helpFile);
    
public:

    TextInterface(Game * ptrToCurrentGame);
    virtual void loadInterface();
    virtual void update(string errorMSG = "");
    virtual void updateBattleHud(string messageToPlayer);
    virtual void setupPlayer();
    virtual void printErrorMsg(string);
    
    virtual void saveGame();
    virtual int loadGame();
    virtual void unlockDoorCommand(string direction);
};


#endif
